package com.dalin.platform.autocode.condition;

import com.dalin.common.pager.Condition;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-06-18                                                     *
 * @modDate: 2010-06-18                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class GlbGeneratorKeyCondition extends Condition{
    private String genKey; // GEN_KEY,128,0
    private String genRemark; // GEN_REMARK,256,0
    
    
    public GlbGeneratorKeyCondition prepareParams() {
        setBaseQueryStr("from GlbGeneratorKeyEntity h");
        setParam("h.genKey", "=", genKey);
        setParam("h.genRemark", "like", "%" + genRemark + "%");
        return this;
    }


    public String getGenKey() {
        return genKey;
    }

    public void setGenKey(String genKey) {
        this.genKey = genKey;
    }


    public String getGenRemark() {
        return genRemark;
    }

    public void setGenRemark(String genRemark) {
        this.genRemark = genRemark;
    }
}
